package asteroids.model.programs.parsing.statements;

import asteroids.model.programs.parsing.expressions.E;

public class Turn extends ActionStatement{
	public Turn (int line, int column, E angle){
		super(line,column);
		//setRotateAngle(angle);
		this.angle =angle;
	}
		
	public double getRotateAngle(){
		return this.rotateAngle;
	}
	
	
	private double rotateAngle = 0;
	public E getAngle(){
		return this.angle;
	}
	private E angle;
		
	public void execute(ExecuteManager executeManager){
		executeManager.execute(this);
	}
}
